body {
  /* 整体布局 */
  /* 左侧导航栏 */
  /* 菜单样式 */
  /* 右侧主内容区 */
  /* 顶部栏 */
  /* 最新订单表格 */
  /* 数据图表区域 */
}
body .admin-container {
  display: flex;
  min-height: 100vh;
}
body .admin-sidebar {
  width: 250px;
  background: #001529;
  color: #fff;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
}
body .admin-sidebar .admin-header {
  padding: 20px;
}
body .logo-container {
  text-align: center;
}
body .logo {
  width: 120px;
  height: auto;
}
body .admin-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
body .admin-menu li {
  padding: 0;
}
body .admin-menu li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}
body .admin-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
}
body .admin-menu li.active a {
  background: #1890ff;
}
body .admin-menu li i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
body .badge {
  background: #ff4d4f;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  margin-left: auto;
}
body .admin-main {
  flex: 1;
  margin-left: 250px;
  padding: 20px;
}
body .admin-main .admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  margin-bottom: 20px;
}
body .header-left {
  display: flex;
  align-items: center;
}
body .menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  margin-right: 20px;
  cursor: pointer;
}
body .breadcrumb {
  display: flex;
  align-items: center;
}
body .breadcrumb i {
  margin: 0 10px;
  color: #999;
}
body .header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
body .admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
body .admin-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
body .stat-card {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}
body .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #fff;
  font-size: 24px;
}
body .stat-info h3 {
  margin: 0;
  font-size: 14px;
  color: #666;
}
body .stat-value {
  margin: 5px 0;
  font-size: 24px;
  font-weight: bold;
}
body .stat-desc {
  margin: 0;
  font-size: 12px;
  color: #999;
}
body .up {
  color: #52c41a;
}
body .down {
  color: #ff4d4f;
}
body .dashboard-section {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}
body .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
body .section-header h2 {
  margin: 0;
  font-size: 18px;
}
body .view-all {
  color: #1890ff;
  text-decoration: none;
}
body .order-table table {
  width: 100%;
  border-collapse: collapse;
}
body .order-table th,
body .order-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
body .status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}
body .status.pending {
  background: #fffbe6;
  color: #faad14;
}
body .status.shipped {
  background: #f6ffed;
  color: #52c41a;
}
body .btn-action {
  padding: 4px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
body .dashboard-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
body .chart-card {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}
body .chart-card h3 {
  margin: 0 0 20px 0;
  font-size: 16px;
}
body .chart-container {
  display: flex;
  gap: 20px;
}
body .chart-container-1 {
  flex: 1;
  padding: 15px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
}
body .chart-container-1 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}
body .booksInfo {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .booksPrice {
  color: #ff4d4f;
  font-weight: bold;
}
